﻿<?php
session_start();


if(!(isset($_SESSION['carrinho']) && isset($_SESSION['subtotal']))){
	$item = 0;
	$total = 0;
}

else
{
	$item = count($_SESSION['carrinho']);
	$total = number_format($_SESSION['subtotal'],2,',','.');
}
?>